package com.shigen.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shigen.demo.dao.DictDetailMapper;
import com.shigen.demo.entity.DictDetail;
import com.shigen.demo.service.DictDetailService;
import org.springframework.stereotype.Service;

/**
 * @author shigenfu
 */
@Service
public class DictDetailServiceImpl extends ServiceImpl<DictDetailMapper, DictDetail> implements DictDetailService {

    @Override
    public DictDetail getDictDetail(String dictCode, String code) {
        return lambdaQuery().eq(DictDetail::getDictCode, dictCode).eq(DictDetail::getCode, code).one();
    }
}




